package com.gradle.practice;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Scanner;

/**
 * App--GradleTest
 *
 * @author: Jovi
 * @createTime: 2018-06-22 15:29
 **/
public class App {

    static Logger logger = LoggerFactory.getLogger(App.class);

    public static void main(String[] args) {

        int i = 0;

        Scanner scan = new Scanner(System.in);

        while (++i > 0) {
            logger.info(i + ".please input todo item name: ");
            TodoItem item = new TodoItem(scan.nextLine());
            System.out.println(item);
        }
    }

}
